<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>p2p互联网金融平台(后台管理)</title>
<link rel="stylesheet" href="../js/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="../js/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css" />
<script type="text/javascript" src="../js/jquery-1.12.4.js" ></script>
<script type="text/javascript" src="../js/bootstrap-3.3.7-dist/js/bootstrap.min.js" ></script>
<style type="text/css">
	body {
		background-color: #eee;
	}
	.cm-container {
		margin-top: 160px;
	}
	
	.login {
		width: 360px;
		height: 300px;
		margin: 0px auto;
	}
</style>
</head>
<body>
	<c:if test="${param.sp=='adminno'}">
		<script>
            alert("登录失败：你不是管理员！");
        </script>
	</c:if>
	<c:if test="${param.sp=='no'}">
        <script>
			alert("登录失败：账号或者密码错误");
		</script>
	</c:if>
	<div class="container cm-container">
		<h3 class="text-center">P2P互联网金融平台(系统管理平台)</h3>
		<hr />
		<div class="login">
			<form id="loginForm" action="./doLogin" method="post">
				<div class="form-group form-group-lg">
					<div class="input-group">
						<div class="input-group-addon">用户名</div>
						<input class="form-control" name="userName" value="" />
					</div>
				</div>
				<div class="form-group form-group-lg">
					<div class="input-group">
						<div class="input-group-addon">密&emsp;码</div>
						<input class="form-control" name="passWD" type="password"
							value="" />
					</div>
				</div>
				<div class="form-group">
					<button type="submit" class="btn btn-lg btn-primary btn-block">登录</button>
				</div>
			</form>
		</div>
	</div>

</body>
</html>